package com.pinla.areamanager.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

import com.opensymphony.xwork2.ActionSupport;
import com.pinla.usermanager.business.ebi.PcUserManageEbi;
import com.pinla.usermanager.vo.PCuserInfo;

public class AreaMgrAction extends ActionSupport implements ServletRequestAware, ServletResponseAware{

	private static final long serialVersionUID = 1L;
	
	private PcUserManageEbi pcUserManageEbi;
	
	private HttpServletRequest request;
	
	@SuppressWarnings("unused")
	private HttpServletResponse response;

	public void setServletRequest(HttpServletRequest request) {
		// TODO Auto-generated method stub
		this.request = request;
	}

	public void setServletResponse(HttpServletResponse response) {
		this.response = response;
		
	}
	
	public String queryUse(){
		System.err.println("----------");
		PCuserInfo pc=pcUserManageEbi.getUserInfo("1");
		return "abc";
	}

	public PcUserManageEbi getPcUserManageEbi() {
		return pcUserManageEbi;
	}

	public void setPcUserManageEbi(PcUserManageEbi pcUserManageEbi) {
		this.pcUserManageEbi = pcUserManageEbi;
	}

}
